package com.bank.dao;

import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.bank.pojo.BankCards;

@Component("bankCardDao")
public class BankCardDao extends BaseDao{
	@Transactional
	public boolean addCard(BankCards card){
		getSession().save(card);
		return true;
	}
}
